WKO\Controllers\Gateways\Gateway B

Total Complexity 77
Dependencies 6
Dependents 0
Total lines 714
Lines of code 412
Logical lines of code 178
Comment lines 153
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
process_payment()
A
38 7 83
get_phones()
A
50 9 29
get_order_status()
S
53 7 27
get_order_items()
S
47 5 33
capture_order()
S
49 5 33
get_person()
S
56 6 17
get_address()
S
51 5 25
validate_address_fields()
S
62 4 10
get_discounts()
S
61 3 12
get_customer_ip()
S
67 3 9
get_post_vars()
S
77 3 3
get_server_vars()
S
77 3 3
get_store_data()
S
62 2 12
get_transaction_data()
S
54 1 24
build_request_body()
S
55 1 20
get_payer_data()
S
57 1 17
get_customer()
S
57 1 17
save_post_meta()
S
70 2 6
order_failed()
S
64 1 11
get_payment_method()
S
100 1 0
show_thankyou_page()
S
100 1 0
get_custom_gateway_fields()
S
100 1 0
__construct()
S
81 1 3
abort_payment_process()
S
74 1 4
get_webhook_url()
S
70 1 6
get_shipping_data()
S
66 1 8
get_metas()
S
100 1 0